package com.bosssoft.bean;

/**
 * @author guozhi
 * @version 1.0.0
 * @date 2022-06-05 16:10
 * @class RoleBean
 * @description
 */
public class RoleBean {
    private Integer id;
    private String name;

    public RoleBean() {
    }

    public RoleBean(String name) {
        this.name = name;
    }

    public RoleBean(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "RoleBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
